package es.ats.codington.festival.interfaces.daos;

import java.util.ArrayList;

import es.ats.codington.festival.domain.Place;



/**
 * The Interface iPlaceDAOImpl.
 */
public interface iPlaceDAOImpl {
	

	
	/**
	 * View places.
	 *
	 * @return the array list
	 * @throws Exception the exception
	 */
	public ArrayList<Place> viewPlaces() throws Exception;

	/**
	 * View place.
	 *
	 * @param idplace the idplace
	 * @return the place
	 * @throws Exception the exception
	 */
	public Place viewPlace(int idplace) throws Exception;
	
	/**
	 * Creates the place.
	 *
	 * @param place the place
	 * @return true, if successful
	 * @throws Exception the exception
	 */
	public boolean createPlace(Place place) throws Exception;
	
	/**
	 * Gets the ids place.
	 *
	 * @param type the type
	 * @return the ids place
	 * @throws Exception the exception
	 */
	public ArrayList<Integer> getIdsPlace(String type) throws Exception;
}
